﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcEngine.Core;
using MvcEngine.Core.Content;
using MvcEngine.Contact.Components.Extensions;
using MvcEngine.Mvc.Extensions;
using System.Web.Mvc;

namespace MvcEngine.Contact
{
    public class SettingsCommand: ControlCommand
    {
        public override string GetUrl(System.Web.Routing.RequestContext context)
        {
            UrlHelper urlHelper = new UrlHelper(context);
            return urlHelper.Settings(context.RouteData.GetPageContentId());
        }
    }
}
